package com.duan.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.duan.goods.pojo.Brand;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;
import java.util.Map;

/**
* @author lenovo
* @description 针对表【goods_brand(品牌表)】的数据库操作Mapper
* @createDate 2024-07-27 16:39:46
* @Entity com.duan.goods.domain.Brand
*/
public interface BrandMapper extends BaseMapper<Brand> {

    /**
     * 根据分类名称查询品牌列表
     * @param categoryName
     * @return
     */
    List<Map> findListByCategoryName(@Param("name") String categoryName);
}




